<?php //$Rev:: 34         $ // DO NOT REMOVE

class CHAT_INVITE extends Parser
{
    public function parse($args, $obj)
    {
        @list($room, $id, $sender, $message) = explode(':', $args, 4);
        $message = (empty($message)) ? 'No message' : $message;
        $obj->core->aim_debug('You have been invited to join "' . $room . '" by ' . $sender . '(' . $message . ')');
        $obj->core->user['chats'][$id] = $room;
        $obj->core->chat->aim_chat_join_invite($id);
    }
}

?>